﻿using NakedObjects;
using System.ComponentModel;
using System;
using System.Collections.Generic;

namespace RTC.Modelo.Entidades.EstudiosPropios
{
    public class Estudio
    {
        [Hidden]
        public virtual int Id { set; get; }

        [Title,DisplayName("Estudio")]
        public virtual String Nombre { set; get; }
        [Hidden]
        public virtual int IdRef { set; get; }

        #region Asignaturas (collection)

        private ICollection<Asignatura> _Asignaturas = new List<Asignatura>();

        [Hidden]
        public virtual ICollection<Asignatura> Asignaturas
        {
            get
            {
                return _Asignaturas;
            }
            set
            {
                _Asignaturas = value;
            }
        }


        #endregion

    }
}
